<template>
  <div>
    <el-menu
      :default-active="activeIndex"
      class="el-menu-demo"
      mode="horizontal"
    >
      <el-menu-item index="1">基本信息</el-menu-item>
      <el-menu-item index="2">驾驶证信息</el-menu-item>
    </el-menu>
  </div>
</template>

<script>
export default {
  data() {
    return {
      activeIndex: "1",
    };
  },
};
</script>

<style lang="scss" scoped>
.el-menu {
  .el-menu-item {
    margin-left: 24px;
  }
  .is-active {
    font-size: 16px;
    font-weight: 700;
  }
}
</style>
